package com.pennphoto.client;

import java.util.ArrayList;
import java.util.HashMap;

import com.google.gwt.user.client.rpc.AsyncCallback;



public interface QueryServiceAsync {

	void getUserIdForCredentials(String username, String passwd,
			AsyncCallback<Integer> callback);

	void getUserInformation(Integer userId, AsyncCallback<PersonType> callback);

	void getUserPhotos(int i, AsyncCallback<ArrayList<ViewedPhotos>> asyncCallback);
	
	void getCircles(int userid, AsyncCallback<Circles> callback);
	
	void removeFriend(int userid, int friendid,String circlename,AsyncCallback<String> callback);

	void getFriendRecommendation(int userid,AsyncCallback<HashMap<Integer,String>> callback);
	
	void addToCircle(int userid, int friendid, String circleName, AsyncCallback<String> callback);
	
	void getcircleRecommendation(int userid, int friendid, AsyncCallback<String> callback);
}
